package org.example.Study.Mq.amqp.listener;

import org.springframework.amqp.core.Message;

/**
 * @Author : zhangbo
 * @data : 2024/6/13
 * @description :
 */

public interface TableCacheListener {
    /**
     * 注册messageHandler
     */
    void registerMessageHandler(String msgType,MessageHander messageHander);

    /**
     * 刷新当前服务器下的缓存
     */
    void refreshCache(Message message);
}
